package com.chengh.nami.common.domain.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.chengh.nami.common.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author chengh
 * 角色实体类
 */
@Getter
@Setter
@ToString(callSuper = true)
@TableName("sys_role")
@Schema(name = "Role对象", description = "角色表")
public class SysRole extends BaseEntity {

    @Schema(name = "id",description = "角色ID")
    private Long id;

    @Schema(name = "roleName",description = "角色名称")
    private String roleName;

    @Schema(name = "roleKey",description = "角色标识")
    private String roleKey;

    @Schema(name = "dataScope",description = "数据范围")
    private String dataScope;
}
